
#ifndef   __STORAGE_ENTRYS__
#define   __STORAGE_ENTRYS__

/* passwords */
#define   PASSW_1				"1234" /* default passwords of "Welcome" message */

#define   USER_LIST_0_AMOUNT		10
#define   USER_LIST_1_AMOUNT		100


#define   PHONE_LIST_0				0
#define   PHONE_LIST_1				1

#define   PHONE_LIST_0_COUNT		USER_LIST_0_AMOUNT
#define   PHONE_LIST_1_COUNT		USER_LIST_1_AMOUNT

#define   BCD_PHONE_SIZE	8
typedef struct
{
		char phone[BCD_PHONE_SIZE];
}storage_entry_phone_t;


void entrys_init ( void );


int phone_add( void *entry);
void phone_print (unsigned int out_dev) ;
int phone_find ( void *ref ); /* return addr of entry */ 

/* return how many items in the list */
int phone_items_counter ( unsigned int list_name );
#endif
